package com.devilvan.jsoup;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import org.junit.jupiter.api.Test;

import java.util.Arrays;
import java.util.Collections;


public class TestRex {
    public static void main(String[] args) throws InterruptedException {
        String en = CrawlUtil.googleTranslate("en", "zh-CN", "DEMO: Real-time Edge Analytics and Concept Drift Computation " +
                "for Efficient Deep Learning From Spectrum Data");
        JSONArray jsonArray = JSON.parseArray(en);
        JSONArray jsonArray1 = (JSONArray) jsonArray.get(0);
        JSONArray jsonArray2 = (JSONArray) jsonArray1.get(0);
        System.out.println(jsonArray2.get(0));
    }

}
